package com.zzl.study.demo.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 天气单位
 *
 * @author: zhangzl
 * @date: 2025/10/9 14:14
 * @version: 1.0
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public record CurrentUnits(@JsonProperty("time") String timeUnit,
                           @JsonProperty("temperature_2m") String temperatureUnit,
                           @JsonProperty("relative_humidity_2m") String humidityUnit,
                           @JsonProperty("wind_speed_10m") String windSpeedUnit) {
}
